package wordcloudtag;


public class WordCloudTag implements Comparable<WordCloudTag>{
	private String word;
	private Long quantity = 0l;

	public String getWord() {
		return word;
	}
	public void setWord(String word) {
		this.word = word;
	}
	public Long getQuantity() {
		return quantity;
	}
	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

	public int compareTo(WordCloudTag o) {
		return o.getQuantity().compareTo(this.getQuantity());
	}
}
